import request from '@/utils/request'

// 预览客户上传的资质
export function previewMaterials (purchaserId) {
  return request({
    url: `/purchaser/material/${purchaserId}/preview`,
    method: 'get'
  })
}

// 资质审核
export function materialExamine (id, data) {
  return request({
    url: `/purchaser/material/${id}/examine`,
    method: 'put',
    data: data
  })
}
